// Created by wangliang on 2025/2/14.
import 'package:flutter/material.dart';
import 'package:mvvm_plus/mvvm_plus.dart';
import 'package:photo_view/photo_view.dart';
import 'package:photo_view/photo_view_gallery.dart';

class ImageViewPageViewModel extends ViewModel {
    List<String> uris;
    int initialPage;
    ImageViewPageViewModel({required this.uris, this.initialPage = 0});

    late PageController _pageController;
    get pageController => _pageController;

    @override
  void initState() {
    super.initState();
    _pageController = PageController(initialPage: initialPage);
  }

}